<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>首页</title>
  </head>
  <body>
    <div class="app-home">
      <!--swiper  -->
      <div class="swiper head">
        <div class="swiper-wrapper">
          <div class="swiper-slide"><img src="../imgs/part1.png" alt="" /></div>
          <div class="swiper-slide"><img src="../imgs/part2.png" alt="" /></div>
          <div class="swiper-slide"><img src="../imgs/part3.png" alt="" /></div>
        </div>
        <!-- 如果需要分页器 -->
        <div class="swiper-pagination"></div>
      </div>

      <!--main  -->
      <div class="main">
        <!-- 今日排名 -->
        <div class="ranking dpflex">
          <div class="rank">
            <img src="../imgs/index-card-rank.png" alt="" />
            <span class="day-rank">今日排名</span>
            <span id="ranks" class="number">9</span>
          </div>
          <div class="integral">
            <img src="../imgs/index-card-sum.png" alt="" />
            <p class="time">累积打卡 <span id="punchDay">23</span>天</p>
            <button id="todayPunch" class="btn">今日打卡</button>
          </div>
        </div>

        <!-- 运动数据 -->
        <div class="sport-data dpflex">
          <div class="sport">
            <img src="../imgs/index-card-data.png" alt="" />
            <p>运动数据</p>
          </div>
          <div class="badge">
            <img src="../imgs/index-card-badge.png" alt="" />
            <p class="badges">累积运动徽章</p>
            <p id="badgee" class="three dpflex">3</p>
            <span>枚</span>
          </div>
        </div>

        <!-- 课程训练 -->
        <div class="train">
          <p>课程训练</p>
          <img src="../imgs/index-swiper-bg2.jpg" alt="" />
        </div>

        <!-- 户外跑步 -->
        <div class="run">
          <p>户外跑步</p>
          <img src="../imgs/index-card-run.png" alt="" />
        </div>
      </div>
    </div>
  </body>
</html>
